package com.sctvcloud.zhaohua_sd.ui.activities;

import android.os.Bundle;
import android.view.View;

import com.ruihang.generalibrary.ui.widget.CustomFontTextView;
import com.sctvcloud.zhaohua_sd.R;
import com.sctvcloud.zhaohua_sd.base.BaseActivity;
import com.sctvcloud.zhaohua_sd.ui.fragment.ApplyFragment;

import butterknife.BindView;
import butterknife.ButterKnife;
import butterknife.OnClick;


public class ApplyActivity extends BaseActivity {
    @BindView(R.id.title_top_layout_edit)
    protected CustomFontTextView share;
    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        Bundle bundle = new Bundle();
        ApplyFragment fragment = new ApplyFragment();
        fragment.setArguments(bundle);
        getSupportFragmentManager()
                .beginTransaction()
                .add(R.id.fragment_container,fragment)
                .commit();
       share.setVisibility(View.GONE);

    }

    @Override
    protected void initInject() {
        setContentView(R.layout.activity_rebllion);
        ButterKnife.bind(this);
    }


    @OnClick({R.id.title_top_layout_back})
    public void itemClick(View view) {
        switch (view.getId()) {
            case R.id.title_top_layout_back:
                finish();
                break;
        }
    }

}
